const NoData = React.createClass({
    getDefaultProps() {
        return {
            componentClass: 'a',
            disabled: false
        };
    },
    render(){
        return <div style={{
            border: '1px solid #ddd',
            marginTop: '-20px',
            borderTop: 0,
            height: '50px',
            lineHeight: '50px',
            textAlign: 'center',
        }}>
            {this.props.children || 'Oops, 没有找到数据 !'}
        </div>
    }
})

export default NoData;
